/*!
 * Created by OJesusO on 2017/12/12.
 * @description index
 * @last 2017/12/12
 */
html, body {
  height: 100%;
}

body {
  background-color: #f5f5f5;
  font-family: sans-serif;

}

.meta-nav .navbar {
  min-height: 40px;
  height: 40px;
}

.meta-nav .navbar-inverse {
  background-color: #fff;
  border-color: #fff;
  margin-bottom: 10px;
}

.meta-nav .navbar-brand {
  height: 40px;
  padding: 0px;

  margin-left: 20px !important;
  margin-right: 50px !important;
}

.meta-nav .navbar-nav > li > a {
  padding-top: 10px;
}

.meta-nav .navbar-inverse .navbar-nav > li > a {
  font-size: 14px;
  color: #333;
}

.meta-nav .nav > li > a {
  padding: 10px 10px;
}

.img-block {
  height: 72%;
  min-height: 300px;/*500px;*/
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  position: relative;
}
.img-block .pre-img-block {
  height: 100%;
}

.pre-img-head {
  position: absolute;
  top: 0;
  height: 36px;
  background: linear-gradient(#fff, #C2C2C2);
  border-radius: 6px 6px 0 0;
  /*         box-shadow: 2px 2px 5px #bbb;*/
}

.icon-1 {
  height: 36px;
  vertical-align: middle;
  display: table-cell;
  width: 10000px;
  padding-left: 10px;
}

.icon-2 {
  height: 36px;
  vertical-align: middle;
  display: table-cell;
  padding-right: 10px;
}

.pre-img-show {
  height: 100%;
  width: 100%;
  padding: 36px 0px;
  /*height: 400px;
  display: table-cell;
  vertical-align: middle;
  width: 10000px;*/
  text-align: center;
}


.pre-img {
    position: relative;
    height: 100%;
    overflow: hidden;
    background-size: cover;/*contain*/
    /*background-position: 50% 50%;*/
    background-repeat: no-repeat;
    background-color: #fff;
}

.pre-img div[data-role="BlockAction"] {
  top: 20%;
  left: 35%;
  width: 150px;
  height: auto !important;
  background-color: transparent !important;
}
.pre-img img {
  /*height: 250px;*/
}

.pre-control {
  position: absolute;
  bottom: 10px
}

.pre-control span {
  /*margin-left: 5px;*/
  margin-left: 10px;
  float: left;
}

.pre-control span img {
  width: 15px;
  cursor: pointer;
}

.small-block {
  height: 30%;
  border-radius: 6px;
  border: 1px solid #ddd;
  position: relative;

}

.small-head {
  min-height: 36px;
  border-bottom: 1px solid #ddd;
  width: 100%;
}

.small-head div {
  height: 36px;
  float: right;
  padding-top: 8px;
  margin-right: 10px;
}

.small-foot {
  position: absolute;
  bottom: 0;
  left: 0px;
  width: 76px;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  background-color: whitesmoke;
  border-top: 1px solid #e9e9e9;
}
.small-foot>div {
  display: inline-block;
  /*float: left;*/
  height: 36px;
  padding-top: 8px;
  /*margin-right: 10px;*/
}

.small-show-left {
  width: 78px;
  /*  height: 214px; */
  /* border-right: 1px solid #ddd; */

}

.d-line {
  position: absolute;
  border: 1px solid #ddd;
  left: 75px;
  height: 100%;
  top: 0px;
}

.small-show-left {
  height: 100%;
  text-align: center;
  padding-left: 4px;
  padding-bottom: 36px;
  float: left;
}
.small-show-left>.bg-container {
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
}

.small-show-left .bgk img {
  width: 64px;
  padding: 5px 0px 5px 0px;

}

.small-show-left .bgk p {
  font-size: 12px;
  color: #666;

}

.small-show-right {
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  margin-left: 75px;
}

.small-show-right div {
  background: url(../img/juxingkuang.png);
  background-repeat: no-repeat;
  background-position: center;
  width: 60px;
  height: 60px;
  display: inline-block;
  text-align: center;
  margin: 5px 0px 0px 5px;
  position: relative;
}
.small-show-right div.active {
  background: url(../img/juxingkuang_active.png);
}

.small-show-right div img {
  width: 50%;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.coordinate {
  font-size: 12px;
  color: #666;
  height: 16px;
  text-align: right;
}

.small-show-right div {
  overflow: hidden;
  cursor: pointer;
}

#content_blocks {
  float: right;
  height: 100%;
  width: 100%;
  position: relative;
  left: 0px;
  top: 0px;
}

#collaborators > img {
  margin-right: 5px;
  height: 30px;
  padding-bottom: 5px;
  width: 30px;
  border-radius: 3px;
}

/* Tabs */
#tabRow > td {
  border: 1px solid #ccc;
}

table {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  border: none;
}

td {
  padding: 0;
  vertical-align: top;
}

#content_blocks #content_xml #content_arduino {
  visibility: hidden;
  margin: 10ex;
  padding: 10ex;
  position: absolute;
  direction: ltr;
}

#content_xml {
  resize: none;
  outline: none;
  border: none;
  font-family: monospace;
  overflow: scroll;
}

.Conbutright button {
  padding: 5px 10px;
  background-color: #fff;
  color: #2ca6e0;
  border: none;
  font-size: 14px;
  background-color: #f5f5f5;
}

.Conbutright button:active {
  /*         border: 1px solid blue !important; */
}

.Conbutright button:hover {
  background: #2ca6e0;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
}

.all {
  width: 100%;
  height: 800px;
  margin: 0 auto;
}

.all h2 {
  height: 36px;
  margin: 0px;
  width: 300px;
  float: left;
}

.all .Conbutleft span {
  width: 85px;
  height: 36px;
  background: #fff;
  line-height: 30px;
  text-align: center;
  float: left;
  margin-right: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  padding-right: 0px;
  margin-right: 0px;
  border: 1px solid #ddd;
}

.all a {
  height: 100%;
  display: none;
}

textarea {
  width: 100%;
  height: 100%;
}

.Conbutright {
  width: auto;
  float: right;
  margin: 0;
}

.scratchCategoryMenuItem {
  text-align: left;
}

.scratchCategoryMenuItem div:first-child {
  border-radius: 0;
  width: 0px !important;
  border: 2px solid;
  display: inline;
}

.scratchCategoryMenuItem div:last-child {
  display: inline;
  margin-left: 5px;
}

.scratchCategoryMenu {
  width: 250px;
  height: 150px;
  background-color: #f5f5f5;
}

.scratchCategoryMenuRow {
  width: 112px;
  display: inline-block;
  margin-left: 10px;
  font-size: 14px !important;
}

.blocklyToolboxDiv {
  height: auto !important;
  border: 1px solid #ddd;
}

.blocklyFlyout {
  transform: translate(0px, 0px) !important;
}

.blocklyFlyoutScrollbar {
  transform: translate(249.5px, 5.5px) !important;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
  border-left-color: #fff;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  -webkit-border-radius: 6px 0 6px 6px;
  -moz-border-radius: 6px 0 6px 6px;
  border-radius: 6px 0 6px 6px;
}

.modal-header {
  border: 0px;
  text-align: center;
}

.modal-body p {
  padding-left: 66px;
  color: #333;
  font-size: 14px;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
  color: #fff !important;
  background-color: #2ca6e0;
}

li.board {
  position: relative;
}

li.board-connect {
  position: relative;
}

i.glyphicon.glyphicon-ok {
  position: absolute;
  top: 6px;
  left: 2px;
}


.myscrollbar::-webkit-scrollbar {
	width: 10px;
  background-color: transparent;
}
.myscrollbar::-webkit-scrollbar-thumb:vertical {
	min-height: 16px;
	border: 3px solid rgba(0,0,0,0);
	border-radius: 8px;
	background-color: rgba(100,100,100,0.15);
	background-clip: padding-box
}
.myscrollbar::-webkit-scrollbar-thumb:vertical:hover,
.myscrollbar::-webkit-scrollbar-thumb:vertical:active {
	background-color: rgba(100,100,100,0.6)
}
.myscrollbar::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: transparent;
}


ul#images-list {
    list-style: none;
    margin: 0;
    padding: 10px 0px;
    overflow: hidden;
}
ul#images-list>li {
    float: left;
    margin: 0px -10px 10px 10px;
    padding-right: 10px;
}
ul#images-list>li>a {
    display: inline-block;
    width: 100px;
    height: 100px;
    background-size: contain;/*cover*/
    background-position: 50% 50%;
    background-repeat: no-repeat;
    /*background-color: #dddddd;*/
}

/*--授权书启动页--*/
.attorney{
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    top: 0;
    left: 0;
}
.attorneyin{
   width: 1200px;
    height: auto;
    padding: 60px 100px;
    margin:0 auto;
    background: #fff;
    margin-top:50px;
    border-radius: 10px;
}
.atttitle{
   width: 100%;
    text-align: center;
    font-size: 16px;
    margin: 20px auto;
}
.attcent{
    background:#d8271c ;
    border: 1px solid #bc261e;
    color: #fff;
}
.attobut input{
    margin-right: 20px;
    width: 100px;
    height: 30px;
}
